<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>jswebservice2.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <script type="text/javascript" src="../js/soapclient.js"></script>
    <script type="text/javascript" src="../js/lib/JQuery/jquery-1.8.2.min.js"></script>
  
  
  </head>
  
  <body>
    	<div id="backData"></div>
  </body>
  <script type="text/javascript">
  var url = "http://www.guru4.net/articoli/javascript-soap-client/demo/webservicedemo.asmx";
   url="http://localhost:8989/Gis/CqServicePort?WSDL";
   url="http://localhost:8989/MyXfire/services/XfireService";
  	$(document).ready(function(){
  		
  		var pl = new SOAPClientParameters();
  		pl.add("message", '1-1-1');
		SOAPClient.invoke(url, "example", pl, true, function(a,b){
			//alert(a.text);
			alert($(a)[0].text);
		});
  	 
  	 
  	});
  </script>
</html>
